package com.iot.spi.core.emqx.pojo;

import lombok.Data;

@Data
public class ProductChannelHandlerPo {

    /**
     * 通道地址本次连接地址
     */
    private String hostUrl;
    /**
     * 通道所属 产品code
     */
    private String productCode;
    /**
     * 设备ID
     */
    private String deviceId;
    /**
     * 功能码
     */
    private String deviceModel;

    /**
     * 消息体 Payload
     */
    private String payload;

    public ProductChannelHandlerPo(String hostUrl, String productCode, String deviceId, String deviceModel, String payload) {
        this.hostUrl = hostUrl;
        this.productCode = productCode;
        this.deviceId = deviceId;
        this.deviceModel = deviceModel;
        this.payload = payload;
    }
}
